<?php
$app->routeMiddleware([
    'web_auth' => 'App\Http\WechatAuth\Middlewares\AuthMiddleware',
]);

$app->register(App\Http\WechatAuth\Services\AuthServiceProvider::class);